breadth_first_search

Locates the next node in graph to get to a position

  1. T[T] breadth_first_search(Graph graph, T start)
  2. T[T] breadth_first_search(Graph graph, T start, T goal)
  3. void breadth_first_search(Graph graph, T start, T goal, out T[T] came_from, out U[T] distance)
    deprecated("Killing")
    void
    breadth_first_search
    (
    T
    U
    )
    (
    ,,,
    out T[T] came_from
    ,
    out U[T] distance
    )

Parameters

graph
Type: Graph

The graph of nodes

start
Type: T

Starting position to go to

goal
Type: T

The end position

came_from
Type: T[T]

Output: An AA mapping a position to another to get to a point

distance
Type: U[T]

Output: Distance of a node to the end point

See Also

Meta